<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/include/utility/yjson.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('yjson_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">yjson.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="yjson_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * @Author: Sky</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * @Date: 2019-10-28 14:16:37</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * @LastEditors: Sky</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * @LastEditTime: 2020-12-10 15:34:14</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * @Description: </span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef __YLIB_UTILITY_YJSON_HPP__</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#define __YLIB_UTILITY_YJSON_HPP__</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ycommon_8hpp.html">core/ycommon.hpp</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ybasicvalue_8hpp.html">core/ybasicvalue.hpp</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ylog_8hpp.html">ylog.hpp</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;cstring&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyLib.html">yLib</a>{</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    <span class="keyword">class </span>yJsonValue;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html">   27</a></span>&#160;    <span class="keyword">class </span>__YLIB_EXPORT__ <a class="code" href="classyLib_1_1yJson.html">yJson</a>  <a class="code" href="yobject_8hpp.html#a456ca9afeca82fe693720d57ef746192">MACRO_PUBLIC_INHERIT_YOBJECT</a></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    {</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="comment">/* data */</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#aa990ccf45d13cb76ace8e563a0115bcc">   40</a></span>&#160;        <a class="code" href="classyLib_1_1yJson.html#aa990ccf45d13cb76ace8e563a0115bcc">yJson</a>(<span class="comment">/* args */</span>) noexcept;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        ~<a class="code" href="classyLib_1_1yJson.html">yJson</a>();</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="comment">//I/O,Defaultly, json-str decode or encode  by utf-8</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment"></span>        int8_t ReadFile(const std::<span class="keywordtype">string</span> &amp;file_path_);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        int8_t ReadMemory(const int8_t * addr_, uint64_t size_);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        int8_t WriteFile(const std::<span class="keywordtype">string</span> &amp;file_path_);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        int8_t WriteMemory(int8_t * addr_, uint64_t max_size_);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> GetRootObject(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        int8_t SetRootObject(const <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; value_);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    private:</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#aecffeaac9b19ce7587efbe69f22a7896">  113</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="yjson_8cpp.html#ae5d1e0c04a1faf040bb4b5059a6d75a8">json_reader</a> = <span class="keywordtype">nullptr</span>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#adb744bcf3e36ee6c687bb69851815088">  114</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="yjson_8cpp.html#a0529d19eb3723d6c870c344206924050">json_reader_builder</a> = <span class="keywordtype">nullptr</span>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#a1ff81f089752d0e05eb6fcc8d90391d8">  115</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="yjson_8cpp.html#a43ee29af204e26f0056aa4eda64f25d2">json_writer</a> = <span class="keywordtype">nullptr</span>;</div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#aff26cee4fcb5fab8b3b0c5041f05036e">  116</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="yjson_8cpp.html#a3a07c9e15b151de1a269880166520a9b">json_writer_builder</a> = <span class="keywordtype">nullptr</span>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classyLib_1_1yJson.html#a8426697f45832a5962babd0a0813a933">  117</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="yjson_8cpp.html#a9a07735db85e8a016fe45fd0c9ee6b21">json_root_value</a> = <span class="keywordtype">nullptr</span>;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    };</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html">  124</a></span>&#160;    class __YLIB_EXPORT__ <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>  :public <a class="code" href="classyLib_1_1yValue.html">yBasicValue</a></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html#a60b5f1300581d96de1afaabc40d8d0d2">  127</a></span>&#160;        <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classyLib_1_1yJson.html">yJson</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keyword">private</span>:</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html#adc09287cf4f06f94d65e25caa6bad49e">  130</a></span>&#160;        <span class="keywordtype">void</span> * <a class="code" href="classyLib_1_1yJsonValue.html#adc09287cf4f06f94d65e25caa6bad49e">json_value</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html#a7705a83c1f1ec1c0df6bcbc83a9d279a">  131</a></span>&#160;        <span class="keyword">typedef</span> std::unordered_map&lt;std::string, yJsonValue&gt; <a class="code" href="classyLib_1_1yJsonValue.html#a7705a83c1f1ec1c0df6bcbc83a9d279a">yJsonValueHolderMap</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html#aa13a28842c9eb1025cf02bdc54d5153a">  132</a></span>&#160;        std::unordered_map&lt;std::string, yJsonValue&gt; * <a class="code" href="classyLib_1_1yJsonValue.html#aa13a28842c9eb1025cf02bdc54d5153a">value_holder_map</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(<span class="keywordtype">bool</span> build_special_, <span class="keywordtype">void</span> * ptr_) noexcept;</div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classyLib_1_1yJsonValue.html#a1dba15ad2dcc3169317f74d5f0c0ae5b">  141</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classyLib_1_1yJsonValue.html#a1dba15ad2dcc3169317f74d5f0c0ae5b">is_special_obj</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keyword">public</span>:</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>() noexcept;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        </div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="comment">//special constructor</span></div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"></span>        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(int64_t value_) noexcept;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(uint64_t value_) noexcept;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(<span class="keywordtype">bool</span> value_) noexcept;</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(<span class="keywordtype">double</span> value_) noexcept;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(std::<span class="keywordtype">string</span> value_) noexcept;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        explicit <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(<a class="code" href="classyLib_1_1yValue.html#ad30bf06e744fa772021a7cc4936e9be2">yValueType</a> type_) noexcept;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        </div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        ~<a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>();</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        <span class="comment">//copy and move constructor, not deep copy,_json_root_value==value_._json_root_value</span></div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment"></span>        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(const <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; value_) noexcept;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a>(const <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp;&amp; value_) noexcept;</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(const <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; value_) noexcept;</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(const <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp;&amp; value_) noexcept;</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160; </div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <span class="comment">//other op</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment"></span>        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(int64_t value_) noexcept;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(uint64_t value_) noexcept;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(<span class="keywordtype">bool</span> value_) noexcept;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(<span class="keywordtype">double</span> value_) noexcept;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(const std::<span class="keywordtype">string</span> &amp;value_) noexcept;</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator=(const <span class="keywordtype">char</span> *value_) noexcept;</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160; </div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator [](const std::<span class="keywordtype">string</span> &amp;key_);</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator [](const <span class="keywordtype">char</span> *key_);</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        </div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;        <a class="code" href="classyLib_1_1yJsonValue.html">yJsonValue</a> &amp; operator [](uint64_t idx_);</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        operator int64_t();</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160; </div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        operator uint64_t();</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;        operator <span class="keywordtype">bool</span>();</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160; </div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        operator <span class="keywordtype">double</span>();</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        operator std::<span class="keywordtype">string</span>();</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160; </div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    };</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;    </div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;}</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160; </div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160; </div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160; </div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;<span class="preprocessor">#endif //__YLIB_UTILITY_YJSON_HPP__</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclassyLib_1_1yValue_html_ad30bf06e744fa772021a7cc4936e9be2"><div class="ttname"><a href="classyLib_1_1yValue.html#ad30bf06e744fa772021a7cc4936e9be2">yLib::yValue::yValueType</a></div><div class="ttdeci">yValueType</div><div class="ttdef"><b>Definition:</b> ybasicvalue.hpp:34</div></div>
<div class="ttc" id="aylog_8hpp_html"><div class="ttname"><a href="ylog_8hpp.html">ylog.hpp</a></div></div>
<div class="ttc" id="aclassyLib_1_1yJsonValue_html_aa13a28842c9eb1025cf02bdc54d5153a"><div class="ttname"><a href="classyLib_1_1yJsonValue.html#aa13a28842c9eb1025cf02bdc54d5153a">yLib::yJsonValue::value_holder_map</a></div><div class="ttdeci">std::unordered_map&lt; std::string, yJsonValue &gt; * value_holder_map</div><div class="ttdef"><b>Definition:</b> yjson.hpp:132</div></div>
<div class="ttc" id="ayjson_8cpp_html_ae5d1e0c04a1faf040bb4b5059a6d75a8"><div class="ttname"><a href="yjson_8cpp.html#ae5d1e0c04a1faf040bb4b5059a6d75a8">json_reader</a></div><div class="ttdeci">json_reader(nullptr)</div></div>
<div class="ttc" id="aycommon_8hpp_html"><div class="ttname"><a href="ycommon_8hpp.html">ycommon.hpp</a></div></div>
<div class="ttc" id="ayobject_8hpp_html_a456ca9afeca82fe693720d57ef746192"><div class="ttname"><a href="yobject_8hpp.html#a456ca9afeca82fe693720d57ef746192">MACRO_PUBLIC_INHERIT_YOBJECT</a></div><div class="ttdeci">#define MACRO_PUBLIC_INHERIT_YOBJECT</div><div class="ttdoc">The public inherit from yObject.</div><div class="ttdef"><b>Definition:</b> yobject.hpp:101</div></div>
<div class="ttc" id="aclassyLib_1_1yJson_html"><div class="ttname"><a href="classyLib_1_1yJson.html">yLib::yJson</a></div><div class="ttdoc">This is a tool to parse the json file.</div><div class="ttdef"><b>Definition:</b> yjson.hpp:28</div></div>
<div class="ttc" id="aclassyLib_1_1yJsonValue_html"><div class="ttname"><a href="classyLib_1_1yJsonValue.html">yLib::yJsonValue</a></div><div class="ttdoc">This is the yJson's value-container, it inherits from yValue.</div><div class="ttdef"><b>Definition:</b> yjson.hpp:125</div></div>
<div class="ttc" id="ayjson_8cpp_html_a0529d19eb3723d6c870c344206924050"><div class="ttname"><a href="yjson_8cpp.html#a0529d19eb3723d6c870c344206924050">json_reader_builder</a></div><div class="ttdeci">json_reader_builder(nullptr)</div></div>
<div class="ttc" id="aclassyLib_1_1yJsonValue_html_a1dba15ad2dcc3169317f74d5f0c0ae5b"><div class="ttname"><a href="classyLib_1_1yJsonValue.html#a1dba15ad2dcc3169317f74d5f0c0ae5b">yLib::yJsonValue::is_special_obj</a></div><div class="ttdeci">bool is_special_obj</div><div class="ttdef"><b>Definition:</b> yjson.hpp:141</div></div>
<div class="ttc" id="aybasicvalue_8hpp_html"><div class="ttname"><a href="ybasicvalue_8hpp.html">ybasicvalue.hpp</a></div></div>
<div class="ttc" id="aclassyLib_1_1yValue_html"><div class="ttname"><a href="classyLib_1_1yValue.html">yLib::yValue</a></div><div class="ttdoc">This is base-class of the all yXxxValues in yLib.</div><div class="ttdef"><b>Definition:</b> ybasicvalue.hpp:26</div></div>
<div class="ttc" id="ayjson_8cpp_html_a43ee29af204e26f0056aa4eda64f25d2"><div class="ttname"><a href="yjson_8cpp.html#a43ee29af204e26f0056aa4eda64f25d2">json_writer</a></div><div class="ttdeci">json_writer(nullptr)</div></div>
<div class="ttc" id="aclassyLib_1_1yJsonValue_html_adc09287cf4f06f94d65e25caa6bad49e"><div class="ttname"><a href="classyLib_1_1yJsonValue.html#adc09287cf4f06f94d65e25caa6bad49e">yLib::yJsonValue::json_value</a></div><div class="ttdeci">void * json_value</div><div class="ttdef"><b>Definition:</b> yjson.hpp:130</div></div>
<div class="ttc" id="ayjson_8cpp_html_a9a07735db85e8a016fe45fd0c9ee6b21"><div class="ttname"><a href="yjson_8cpp.html#a9a07735db85e8a016fe45fd0c9ee6b21">json_root_value</a></div><div class="ttdeci">json_root_value(nullptr)</div><div class="ttdef"><b>Definition:</b> yjson.cpp:21</div></div>
<div class="ttc" id="ayjson_8cpp_html_a3a07c9e15b151de1a269880166520a9b"><div class="ttname"><a href="yjson_8cpp.html#a3a07c9e15b151de1a269880166520a9b">json_writer_builder</a></div><div class="ttdeci">json_writer_builder(nullptr)</div></div>
<div class="ttc" id="anamespaceyLib_html"><div class="ttname"><a href="namespaceyLib.html">yLib</a></div><div class="ttdoc">This is a top namespace in yLib.</div><div class="ttdef"><b>Definition:</b> ylinuxerrnohelper.cpp:28</div></div>
<div class="ttc" id="aclassyLib_1_1yJsonValue_html_a7705a83c1f1ec1c0df6bcbc83a9d279a"><div class="ttname"><a href="classyLib_1_1yJsonValue.html#a7705a83c1f1ec1c0df6bcbc83a9d279a">yLib::yJsonValue::yJsonValueHolderMap</a></div><div class="ttdeci">std::unordered_map&lt; std::string, yJsonValue &gt; yJsonValueHolderMap</div><div class="ttdef"><b>Definition:</b> yjson.hpp:131</div></div>
<div class="ttc" id="aclassyLib_1_1yJson_html_aa990ccf45d13cb76ace8e563a0115bcc"><div class="ttname"><a href="classyLib_1_1yJson.html#aa990ccf45d13cb76ace8e563a0115bcc">yLib::yJson::yJson</a></div><div class="ttdeci">yJson() noexcept</div><div class="ttdoc">default constructor</div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_3a4d35156996fb70540e167b84a39bd1.html">utility</a></li><li class="navelem"><a class="el" href="yjson_8hpp.html">yjson.hpp</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
